package com.tongji.showroom.view
{
	/**
	 * 
	 * @author xuxunjia
	 * 
	 */	
	import com.tongji.showroom.model.Picture3DModel;
	
	import mx.binding.utils.BindingUtils;
	import mx.collections.ArrayCollection;
	
	import org.robotlegs.mvcs.Mediator;
	
	public class FirstStepTaggingCompMediator extends Mediator
	{
		[Inject]
		public var briefView:FirstStepTaggingComp;
		
		[Inject]
		public var pictureModel:Picture3DModel;
		
		override public function onRegister():void
		{
			pictureModel.pictureArray = new ArrayCollection();
			pictureModel.pictureArray.addItem("images/model.jpg");
			BindingUtils.bindProperty(briefView.briefPicture.dataGroup, "dataProvider", pictureModel, "pictureArray");
		}
	}
}